package io.renren.framework.constant;

import java.util.HashMap;
import java.util.Map;

public class BaseConst {
	/** 默认分页大小 **/
	public static final Integer PAGE_SIZE = 30;
	/** 超级管理员ID */
	public static final int SUPER_ADMIN = 1;
	/** 12小时后过期 **/
	public final static int CRM_TOKEN_EXPIRE = 3600 * 12 * 240;
	/** 12小时后过期 **/
	public final static int CP_TOKEN_EXPIRE = 3600 * 12 * 240;

	/**
	 * 菜单类型
	 */
    public static enum CrmMenuType {
        /**
         * 目录
         */
    	CATALOG(0),
        /**
         * 菜单
         */
        MENU(1),
        /**
         * 按钮
         */
        BUTTON(2);

        private int value;

        CrmMenuType(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

    public static class DifficultyType{
        /**
         * 1＝简单
         */
        public final static byte DIFFICULTY_TYPE_1 = 1;
        /**
         * 2＝普通
         */
        public final static byte DIFFICULTY_TYPE_2 = 2;
        /**
         * 3＝困难
         */
        public final static byte DIFFICULTY_TYPE_3 = 3;

        public static Map<Byte, String> DIFFICULTY_DIC_MAP = new HashMap<Byte, String>();
        public static void init() {
            DifficultyType.DIFFICULTY_DIC_MAP.put(DifficultyType.DIFFICULTY_TYPE_1, "简单");
            DifficultyType.DIFFICULTY_DIC_MAP.put(DifficultyType.DIFFICULTY_TYPE_2, "普通");
            DifficultyType.DIFFICULTY_DIC_MAP.put(DifficultyType.DIFFICULTY_TYPE_3, "困难");
        }
    }

    public static class quizType{
        /**
         * 文理分科测评类型
         */
        public final static Byte AAS = 1;
        /**
         * 新高考选科测评类型
         */
        public final static Byte NWE_AAS = 2;
        /**
         * mbti性格测评类型
         */
        public final static Byte MBTI = 3;
        /**
         * midas能力测评类型
         */
        public final static Byte MIDAS = 4;
        /**
         * 霍兰德测评类型
         */
        public final static Byte HOLLAND = 5;
        /**
         * 学科强弱测评类型
         */
        public final static Byte SUBJECT = 6;
        /**
         * 职业趋向测评类型
         */
        public final static Byte OCCUPATION = 7;
    }

    public static class aasDicNo{
        /**
         * 文学
         */
        public final static Integer WENXUE = 1;
        /**
         * 新闻
         */
        public final static Integer XINWEN = 2;
        /**
         * 历史
         */
        public final static Integer LISHI = 3;
        /**
         * 法律
         */
        public final static Integer FALV = 4;
        /**
         * 艺术
         */
        public final static Integer YISHU = 5;
        /**
         * 地理
         */
        public final static Integer DILI = 6;
        /**
         * 交通运输
         */
        public final static Integer JIAOTONGYUNSHU = 7;
        /**
         * 服务行业
         */
        public final static Integer FUWUHANGYE = 8;
        /**
         * 教育
         */
        public final static Integer JIAOYU = 9;
        /**
         * 英语
         */
        public final static Integer YINGYU = 10;
        /**
         * 物理
         */
        public final static Integer WULI = 11;
        /**
         * 数学
         */
        public final static Integer SHUXUE = 12;
        /**
         * 化学
         */
        public final static Integer HAUXUE = 13;
        /**
         * 生物学
         */
        public final static Integer SHENGWUXUE = 14;
        /**
         * 医学
         */
        public final static Integer YIXUE = 15;
        /**
         * 农业
         */
        public final static Integer NONGYE = 16;
        /**
         * 建筑
         */
        public final static Integer JIANZHU = 17;
        /**
         * 轻工业
         */
        public final static Integer QINGGONGYE = 18;
        /**
         * 电子技术
         */
        public final static Integer DIANZIJISHU = 19;
        /**
         * 产业工人
         */
        public final static Integer CHANYEGONGREN = 20;
    }

    public static class mbtiDimension{
        //上下两两对应
        /**
         * 外向
         */
        public final static String E = "E";
        /**
         * 内向
         */
        public final static String I = "I";
        /**
         * 感觉
         */
        public final static String S = "S";
        /**
         * 直觉
         */
        public final static String N = "N";
        /**
         * 思考
         */
        public final static String T = "T";
        /**
         * 情感
         */
        public final static String F = "F";
        /**
         * 判断
         */
        public final static String J = "J";
        /**
         * 知觉
         */
        public final static String P = "P";
    }


    public static class orderType{
        public final static int PAYMENT_TYPE_1 = 1; //金币充值
        public final static int PAYMENT_TYPE_2 = 2; //VIP购买
        public final static int PAYMENT_TYPE_3 = 3; //购买一对一咨询服务
        public final static int PAYMENT_TYPE_4 = 4; //提问消费
        public final static int PAYMENT_TYPE_5 = 5; //旁听消费
        public final static int PAYMENT_TYPE_6 = 6; //购买直播
        public final static int PAYMENT_TYPE_7 = 7; //VIP学习卡购买
        public final static int PAYMENT_TYPE_8 = 8; //视频课程购买
        public final static int PAYMENT_TYPE_9 = 9; //生涯问答后台审核失败退还提问费用
        public final static int PAYMENT_TYPE_10 = 10; //生涯问答追问消费
        public final static int PAYMENT_TYPE_11 = 11; //生涯问答追问后台审核失败退还提问费用
    }
}
